#! /usr/bin/python
# -*- coding: utf-8 -*-

#Temporarily, the creator is the same as the administrator, but the creator should have higher power!
creator = 240650143
administrator = 240650143

api_key = 'afb63a32697542818b1a7acba2562b9e'
app_secret = 'b5590dcfdc6c469199ed8fd196e1dba1'
paperCategoryList = [
    {'nav': 'all', 'catValue': 'all', 'catText': '全部'},
    {'nav': 'alg', 'catValue': 'algorithm', 'catText': '算法'},
    {'nav': 'net', 'catValue': 'internet', 'catText': '互联网'},
    {'nav': 'op', 'catValue': 'openplatform', 'catText': '开放平台'},
    {'nav': 'os', 'catValue': 'opensource', 'catText': '开源项目'},
    {'nav': 'ccpp', 'catValue': 'corcpp', 'catText': 'C/C++'},
    {'nav': 'java', 'catValue': 'java', 'catText': 'Java'},
    {'nav': 'other', 'catValue': 'other', 'catText': '其它'},
    {'nav': 'more', 'catValue': 'more', 'catText': '更多分类'}
]

imageSupportContentTypes = {
    'jpg': 'image/jpeg',
    'jpeg': 'image/jpeg',
    'png': 'image/png',
    'gif': 'image/gif',
    'bmp': 'image/x-ms-bmp'
}
siteUrl = 'http://itgeeker.org'
appEngineUrl = 'http://zhangtielei.appspot.com'
#do not forget the staticUrl in /js/tiny_mce/themes/advanced/image.htm 
#staticUrl = 'http://itgeeker.org'
staticUrl = siteUrl
jsVersion = 7
cssVersion = 7

siteName = 'ITGeeker'
defaultMathmlLogo = staticUrl + '/img/mathml.jpg'
sysPaperIdHowToInputFormula = 3
sysPaperUrlCelebrating = '/mathml/readpaper?pid=' + str(1)
sysPaperUrlFormulaNotDisplay = '/mathml/readpaper?pid=' + str(2)
sysPaperUrlHowToInputFormula = '/mathml/readpaper?pid=' + str(sysPaperIdHowToInputFormula)
sysPaperUrlFaq = '/mathml/readpaper?pid=' + str(4)
sysPaperUrlSiteEvents = '/mathml/readpaper?pid=' + str(5)
sysPaperUrlHowToRss = '/mathml/readpaper?pid=' + str(6)

xiaoneiProfilePrefix = 'http://renren.com/'
xiaoneiDomain = 'renren.com'

defaultXiaoneiTinyPhoto = 'http://xnimg.connect.renren.com/photos/0/0/men_tiny.gif'
defaultXiaoneiNormalPhoto = 'http://xnimg.connect.renren.com/photos/0/0/men_head.gif'
defaultXiaoneiMainPhoto = 'http://xnimg.connect.renren.com/photos/0/0/men_main.gif'
